<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="style.css" />
    <link rel="stylesheet" href="iconfont.css" />
</head>

<body>
    <div id="app">
        
        
    </div>
    
    <script src="vue.js"></script>
    <!-- <script src="vue-resource.js"></script> -->
    
    <script>
    // Vue.http.options.emulateJSON = true;
    var demo = new Vue({
        el: '#app',
        data: {
            show: false,
            gridColumns: [{
                name: 'brandId',
                isKey: true
            }, {
                name: 'name'
            }, {
                name: 'photo'
            }],
            gridData: [],
            apiUrl: 'http://api.tb-bihaohuo.cn/Home/brands',
            item: {}
        },
        ready: function() {
            this.getCustomers()
        },
        methods: {
          
            getCustomers: function() {
                alert("wer");
                
            },
            
        }
    })
    </script>
</body>

</html>
